<template>
  <div class="adv-list">
    <div class="adv-item" v-for="(item,index) in props.list" :key="index">
      <img :src="item.img">
    </div>
  </div>
</template>
<script setup>
import {useRouter} from 'vue-router'
import {useDataStore} from "@/stores/dataStore"

const dataStore = useDataStore()

const router = useRouter()
//传递过来的数据
const props = defineProps(['list'])
</script>
<style scoped lang="scss">
.adv-list {
  .adv-item {
    img {
      width: 100%;
    }
  }
}
</style>
